package com.ymatou.userregister.service;

import com.ymt.base.YmatouBaseCall;
import com.ymttest.utils.EnvSetup;

/**
 * 根据邮箱生成激活码(手动)
 * @author chenshuangyan
 *
 */
public class ActivateCodeCall extends YmatouBaseCall{
	private static String opurl ="userapi/activatecode";
	
	public ActivateCodeCall() {
		super(EnvSetup.getSystemUrl("api_userregister"),opurl,"GET","PARAMS");
	}
	
	@Override
	public void addDefHeader() {
		client.addHeader("Accept","text/xml,text/javascript,text/html,application/json");
		client.addHeader("Content-Type", "application/json; charset=UTF-8");
	}
	
	
}
